package org.example.java.reflection;

/**
 * Created by Juntao.Zhang on 2014/12/30.
 */
public class Person {
  private String name;
  private Phone phone;

  public Person(String name, Phone phone) {
    this.name = name;
    this.phone = phone;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Phone getPhone() {
    return phone;
  }

  public void setPhone(Phone phone) {
    this.phone = phone;
  }
}
